package day10.CodeTransferTest;

import java.io.*;

public class Test5 {
    public static void main(String[] args) throws IOException {
        /*
        读取f9文件，按行读取
         */
        BufferedReader reader = new BufferedReader(new InputStreamReader(new FileInputStream("/Users/hao/Desktop/abc/f9"), "GBK"));
        String line;
        while((line = reader.readLine()) != null){
            System.out.println(line);
        }
        reader.close();
    }
}
